package telecom;

/*import MyInterfaces.Billing;
import MyInterfaces.CustomerCare;
import MyInterfaces.Marketing;*/
import MyInterfaces.commonInterface;

//public class Subscriber implements Marketing, Billing, CustomerCare{
	public class Subscriber implements commonInterface{

		
	
	
	private static int scount;
	
	private String fname ;
	
	private String zipcode;
	
	private String circle;
	
	private int billAmt;
	
	private String mode;
	
	private int age;
	
	private String model;
	public Subscriber(String fname, int zipcode, int circle)
	{
		// TODO Auto-generated constructor stub
		
		scount++;
		this.circle = circle + "";
		this.fname = fname;
		this.zipcode = zipcode + "";
		
	}
	public Subscriber(String fname, int zipcode, int circle, int billAmt, int age, String model, String mode)
	{
		// TODO Auto-generated constructor stub
		
		scount++;
		this.circle = circle + "";
		this.fname = fname;
		this.zipcode = zipcode + "";
		this.age = age;
		this.mode = mode;
		this.model = model;
		this.billAmt = billAmt;
		
	}
	
	public int getZipcode()
	{
		return Integer.parseInt(zipcode);
	}
	
	static int getScount()
	{
		return scount;
	}
	
	
	public int getCircle()
	{
		return Integer.parseInt(circle);
	}
	
	public String getFname()
	{
		return fname ;
	}
	
	public String getName(){
		return fname;
	}
	
	public String getMode(){
		return mode;
	}
	
	public int getAmount()
	{
		return billAmt;
	}
	
	public int getAge()
	{
		return age;
	}
	
	public String getModel()
	{
		return model;
	}
	
	public void someFucntion()
	{
		System.out.println("This is somefunction in common interface");
	}

}
